.screen-wrap {
  display: flex;
  flex-direction: column;
  background: #000;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  .header-title {
    width: 100%;
    height: 90px;
    background: url('../assets/imgs/header-bc.jpg') no-repeat center center;
    background-size: contain;
    .header-title-text {
      // position: absolute;
      // top: 0;
      width: 100%;
      height: 80px;
      line-height: 80px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 31px;
      font-weight: bold;
      color: #fff;
    }
  }
  .cont-wrap {
    display: flex;
    justify-content: space-between;
    flex: 1;
    padding: 10px 24px 0;
    width: 100%;
    box-sizing: border-box;
    .cont-l,
    .cont-r {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 490px;
      height: 100%;
      padding-bottom: 20px;
      box-sizing: border-box;
    }
  }
}
.module-item {
  position: relative;
  width: 100%;
  height: 30%;
  background: #0c0a0f;
  box-shadow:
    inset 0px 0px 24px 0px #00316d,
    inset 0px 0px 24px 0px #00316d,
    inset 0px 0px 24px 0px #00316d,
    inset 0px 0px 24px 0px #00316d;
  padding: 17px;
  box-sizing: border-box;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  &.module-item-top {
    height: 31%;
  }
  // &:nth-last-child(1) {
  //   margin-bottom: 20px;
  // }
  .border-item {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    &.border-item-lt {
      border-left-color: #23b2ff;
      border-top-color: #23b2ff;
      left: 0;
      top: 0;
    }
    &.border-item-rt {
      border-right-color: #23b2ff;
      border-top-color: #23b2ff;
      left: 478px;
      top: 0;
    }
    &.border-item-lb {
      border-left-color: #23b2ff;
      border-bottom-color: #23b2ff;
      left: 0;
      bottom: 0;
    }
    &.border-item-rb {
      border-right-color: #23b2ff;
      border-bottom-color: #23b2ff;
      left: 478px;
      bottom: 0;
    }
  }
}
.sub-title {
  height: 20px;
  opacity: 1;
  font-family: PingFang SC;
  font-size: 12px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.8);
}
.calc-time-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  .elapsed-time {
    display: flex;
    height: 58px;
    color: rgba(255, 255, 255, 0.8);
    .elapsed-time-subtitle {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 50%;
      height: 100%;
      &:nth-last-child(1) {
        padding-left: 24px;
        border-left: 0.5px solid #ccc;
        box-sizing: border-box;
      }
    }
    .data-value {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      opacity: 1;
      font-family: DIN;
      font-size: 31.5px;
      font-weight: bold;
      line-height: 31.5px;
    }
    .unit-value {
      margin: 10px 10px 0 5px;
      opacity: 1;
      font-family: PingFang SC;
      font-size: 12px;
      font-weight: normal;
      line-height: 20px;
    }
  }
  .echarts-wrap {
    flex: 1;
    .calc-time-echarts {
      height: 100%;
    }
  }
  .finish-btn {
    width: 55px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    text-align: center;
    color: #02e5ea;
    background: rgba(26, 254, 166, 0.2);
    border: 0.5px solid #02e5ea;
  }
  .calc-btn {
    width: 55px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    text-align: center;
    color: #ff8b10;
    background: rgba(255, 139, 16, 0.2);
    border: 0.5px solid #ff8b10;
  }
}
.flex-wrap {
  display: flex;
  flex-direction: column;
}
.ks-wrap {
  display: flex;
  flex-direction: column;
  .module-title {
    display: flex;
    .legend-wrap {
      display: flex;
      justify-content: flex-end;
      flex: 1;
    }
  }
  .ks-content {
    flex: 1;
    display: flex;
    .ks-inner-l {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 115px;
      .ks-inner-l-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 30%;
        .ks-inner-l-item-title {
          margin-bottom: 6px;
          font-family: PingFang SC;
          font-size: 12px;
          font-weight: normal;
          line-height: 20px;
          display: flex;
          align-items: center;
          color: rgba(255, 255, 255, 0.8);
        }
        .ks-inner-l-item-value {
          font-family: DIN;
          font-size: 31.5px;
          font-weight: bold;
          line-height: 31.5px;
          display: flex;
          align-items: center;
          color: #f3f4f4;
        }
        &:nth-last-child(1) {
          margin-bottom: 30px;
        }
      }
    }
    .ks-inner-r {
      flex: 1;
      height: 100%;
    }
  }
  .legend-wrap {
    display: flex;
    .legend-item {
      margin-right: 10px;
      display: flex;
      align-items: center;
      .icon {
        display: inline-block;
        margin-right: 5px;
        width: 6px;
        height: 6px;
        &:nth-child(1) {
          background: #02e5ea;
        }
      }
      span {
        font-family: PingFang SC;
        font-size: 12px;
        font-weight: normal;
        line-height: 20px;
        color: #fff;
      }
      &:nth-child(2) {
        .icon {
          background: #2e7bff;
        }
      }
    }
  }
}
.auc-wrap {
  display: flex;
  flex-direction: column;
  .auc-content {
    flex: 1;
    display: flex;
    .auc-inner-l {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 115px;
      .auc-inner-l-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 30%;
        .auc-inner-l-item-title {
          margin-bottom: 6px;
          font-family: PingFang SC;
          font-size: 12px;
          font-weight: normal;
          line-height: 20px;
          display: flex;
          align-items: center;
          color: rgba(255, 255, 255, 0.8);
        }
        .auc-inner-l-item-value {
          font-family: DIN;
          font-size: 31.5px;
          font-weight: bold;
          line-height: 31.5px;
          display: flex;
          align-items: center;
          color: #f3f4f4;
        }
        &:nth-last-child(1) {
          margin-bottom: 30px;
        }
      }
    }
    .auc-inner-r {
      flex: 1;
      height: 100%;
    }
  }
  .auc-legend-wrap {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    .legend-item {
      margin-right: 0;
      display: flex;
      align-items: center;
      .icon {
        display: inline-block;
        margin-right: 5px;
        width: 6px;
        height: 6px;
        &:nth-child(1) {
          background: #02e5ea;
        }
      }
      span {
        font-family: PingFang SC;
        font-size: 12px;
        font-weight: normal;
        line-height: 20px;
        color: #fff;
      }
      &:nth-child(2) {
        margin-left: 10px;
        .icon {
          background: #2e7bff;
        }
      }
    }
  }
}
.flex-wrap {
  display: flex;
}
.state-content {
  display: flex;
  justify-content: space-between;
  .state-content-l {
    width: 138px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    .state-content-l-item {
      .state-content-l-item-title {
        margin: 24px 0 5px 0;
        font-family: PingFang SC;
        font-size: 12px;
        font-weight: normal;
        line-height: 20px;
        display: flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.8);
      }
      .state-content-l-item-value {
        font-family: DIN;
        font-size: 13px;
        font-weight: 500;
        line-height: 24px;
        display: flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.95);
        font-family: DIN;
        font-weight: 700;
        font-size: 31.5px;
        .state-content-l-item-unit {
          font-family: DIN;
          font-size: 13px;
          margin: 10px 10px 0 5px;
          opacity: 1;
          font-family: PingFang SC;
          font-size: 12px;
          font-weight: normal;
          line-height: 20px;
        }
      }
      &:nth-last-child(1) {
        margin-bottom: 30px;
      }
    }
  }
  .state.content-r {
    width: 206px;
  }
}
.loss-diagram-wrap {
  display: flex;
  flex: 1;
  .loss-diagram-title {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    width: 33px;
    height: 100%;
    font-family: DIN;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);

    /* OPO */
    span {
      font-family: DIN;
      font-weight: 700;
      font-size: 12px;
    }
    .vertical-rl {
      /* 系统损耗伊辛模型能量 */
      font-family: PingFang SC;
      font-weight: 400;
      font-size: 16px;
      writing-mode: vertical-rl;
    }
  }
  .loss-diagram-echarts-wrap {
    flex: 1;
    height: 100%;
  }
}
.cont-c {
  flex: 1;
  height: 100%;
  // border: 5px solid red;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  .cont-c-cont {
    padding-top: 40px;
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
  }
}
.state-content-r {
  .rel-icon-gif {
    width: 220px;
    height: auto;
  }
}
.footer-wrap {
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 78px;
  background: url('../assets/imgs/footer-bc-2.png') no-repeat center center;
}

.footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 78px;
  .footer-cont {
    display: flex;
    justify-content: space-around;
    width: 500px;
    height: 78px;
  }
  .btn {
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 78px;
    line-height: 78px;
    text-shadow: 0px 2px 10px #005dff;
    cursor: pointer;
    .text {
      display: flex;
      align-items: center;
      justify-content: center;
      display: inline-block;
      margin-left: -8px;
      font-size: 24px;
      font-weight: bold;
      color: #ffffff;
      font-style: italic;
    }
    &:nth-last-child(1) {
      justify-content: flex-start;
      padding-left: 40px;
      box-sizing: border-box;
      .text {
        margin-left: -15px;
      }
    }
  }
}
